### Localization
d-i debian-installer/locale string en_US
d-i console-setup/ask_detect boolean false
d-i console-setup/layoutcode string us

### Network configuration
d-i netcfg/dhcp_timeout string 10
d-i netcfg/dhcp_failed note
d-i netcfg/dhcp_options select Configure network manually

### Mirror settings
d-i mirror/country string US

### Clock and time zone setup
d-i clock-setup/utc boolean true
d-i time/zone string UTC
d-i clock-setup/ntp boolean false

### Partitioning
d-i partman-auto/init_automatically_partition select biggest_free
d-i partman-auto/method string regular
d-i partman-auto/choose_recipe select atomic
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true

### Base system installation

### Account setup
d-i passwd/root-login boolean false
d-i passwd/make-user boolean true
d-i user-setup/encrypt-home boolean false

### Apt setup
d-i apt-setup/use_mirror boolean false
d-i apt-setup/services-select multiselect
d-i debian-installer/allow_unauthenticated string true

### Package selection
tasksel tasksel/first multiselect standard
d-i pkgsel/include string <%= install_packages.join(' ') %>
d-i pkgsel/update-policy select none

### Boot loader installation
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true

### Finishing up the installation
d-i finish-install/reboot_in_progress note
d-i cdrom-detect/eject boolean false

### X configuration

### Preseeding other packages
user-setup-udeb user-setup/encrypted-private boolean false

#### Advanced options
### Running custom commands during the installation
d-i preseed/late_command string <%= post_install_commands.join('; ') %>
